import Database from "@/lib/db";
import { users } from "@supersavely/db/schema";

// http://localhost:3000/api/demo
export async function GET(request: Request) {
  const allUsers = await Database.database.select().from(users);
  // console.log("这个aaa", allUsers);

  return Response.json({ data: allUsers });
  // return Response.json({ data: "test" });
}
